package com.nwcl.basic.service;

import com.nwcl.basic.bo.GoodsBO;
import com.nwcl.common.result.Page;
import com.nwcl.ysx.request.GoodsPageRequest;

/**
 * @author liguiqin
 * @date 2023/5/23
 */
public interface GoodsService {
    /*
     * @Description: 分页查询商品列表
     * @Author liguiqin
     * @Date 2023/5/26 9:15
     * @param: param 查询参数: status 商品状态
     * @return com.nwcl.common.result.Page<com.nwcl.basic.bo.GoodsBO>
     * @UpdateDate 2023/5/26 9:15
     **/
    Page<GoodsBO> page(GoodsPageRequest param);

    /*
     * @Description: 根据id查询商品
     * @Author liguiqin
     * @Date 2023/5/26 14:40
     * @param: id
     * @return com.nwcl.basic.bo.GoodsBO
     * @UpdateDate 2023/5/26 14:40
     **/
    GoodsBO getById(Integer id);
}
